@(cl:Option[List[models.Comment]])(implicit s:dao.Session)

@if(cl.isDefined){
  @cl.get.map { c =>
    <li>
      <div>
        <h1>@c.author.name</h1>
        <span>@c.created</span>
      </div>
      <img id="user-photo" src="@(config.Services.avatarsThumbPath + c.author.photo)" />
      <p>@c.content</p>
    </li>
  }
  
} else {
  <p>
    No hay cometarios<br />
  </p>
}
